import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useAlarmProcessingStore = defineStore(
  'alarmProcessing',
  () => {
    const alarmProcessingInfo = ref({})
    const setAlarmProcessingInfo = (newVal) => {
      alarmProcessingInfo.value = newVal
    }
    return {
      alarmProcessingInfo,
      setAlarmProcessingInfo,
    }
  },
  {
    persist: true,
  },
)
